package learnGoMobile

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

func Main(path string) {
	router := gin.Default()
	router.StaticFS("/", http.Dir(path))
	err := router.Run(":8080")
	if err != nil {
		return
	}
}
